fix: Fix version bump verification#30221
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
This change has zero impact on:
No E2E tests need to run for this change. It is purely a build tooling improvement that allows Android and iOS build numbers to diverge (useful when platforms are versioned independently) while still ensuring the new version number is strictly greater than the current one on each platform. Performance Test Selection: |
|



Description
This relaxes the version bump script to verify both iOS and Android bumps upwards
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk shell-script change limited to build version validation; main impact is potentially blocking releases if either platform’s build number doesn’t strictly increase.
Overview
Updates
scripts/set-build-version.shto stop requiring Android and iOS build numbers to be in sync, and instead validates the providedVERSION_NUMBERis greater than each platform’s current value.Improves logging by printing
CURRENT_ANDROID_VERSION_NUMBERandCURRENT_IOS_VERSION_NUMBER, and routes version-regression failures throughlog_and_exitfor consistent error handling.Reviewed by Cursor Bugbot for commit 7f04caa. Bugbot is set up for automated code reviews on this repo. Configure here.